package cn.rtplay.esp32camcar.SteeringWheelSeekBar;

import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;

/**
 * 自定义SeekBar 背景部分
 */
public class SeekBarBackgroundView extends View {
    public SeekBarBackgroundView(Context context) {
        super(context);
    }

    public SeekBarBackgroundView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        super.onLayout(changed, left - 10, top, right + 10, bottom);
    }

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
    }
}
